package com.maridress.maridress.dependencies;

import com.maridress.maridress.service.api.UserApi;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

/**
 * Created by tenmei on 16/9/7.
 */
@Module
public class ApiModule {

    @Provides
    @CustomScope
    UserApi providesUserApi(Retrofit retrofit) {
        return retrofit.create(UserApi.class);
    }
}
